import Layout from '@/layout'

const cmsRouter =
{
  path: '/cms',
  name: 'cms-group',
  component: Layout,
  meta: { title: 'cms管理', icon: 'nested', roles: ['m5500'] },
  hidden: true,
  children: [
    {
      path: 'noticeList',
      component: (resolve) => require(['@/views/cms-group/notice-manage/noticeList'], resolve),
      name: 'NoticeList',
      remoteParam: { serviceName: 'cms', path: '/api/notice/' },
      remoteUrl: '',
      meta: { title: '公告列表', roles: ['m5500'] },
      hidden: true
    },
    {
      path: '/noticeListEdit/edit/:no',
      name: 'NoticeListEdit',
      component: (resolve) => require(['@/views/cms-group/notice-manage/detail'], resolve),
      meta: { title: '公告详情' },
      remoteUrl: '',
      hidden: true
    }
  ]
}
export default cmsRouter
